#include <asm.h>
#include <regdef.h>
#include <inst_test.h>

LEAF(n30_ori_test)
    .set noreorder
    addiu s0, s0 ,1
    li  s2, 0x00
###test inst
    TEST_ORI(0x0d48918a, 0x00007fe6, 0x0d48ffee)
    TEST_ORI(0x891d17a0, 0x0000b034, 0x891db7b4)
    TEST_ORI(0x8becf220, 0x0000d800, 0x8becfa20)
    TEST_ORI(0x34e01280, 0x00003155, 0x34e033d5)
    TEST_ORI(0x20192340, 0x0000ccf0, 0x2019eff0)
    TEST_ORI(0x06d71894, 0x0000c43a, 0x06d7dcbe)
    TEST_ORI(0x9c162100, 0x00007b7e, 0x9c167b7e)
    TEST_ORI(0xd2e07498, 0x0000a4ea, 0xd2e0f4fa)
    TEST_ORI(0xe5bd1f00, 0x00001ac0, 0xe5bd1fc0)
    TEST_ORI(0x05e05844, 0x00000c78, 0x05e05c7c)
    TEST_ORI(0x1c182184, 0x0000d768, 0x1c18f7ec)
    TEST_ORI(0xf64d02e0, 0x000003f7, 0xf64d03f7)
    TEST_ORI(0x9f9e9140, 0x00003538, 0x9f9eb578)
    TEST_ORI(0x8d04cdec, 0x00007fcc, 0x8d04ffec)
    TEST_ORI(0x660d371d, 0x0000ff38, 0x660dff3d)
    TEST_ORI(0x1f77fb68, 0x0000e5a0, 0x1f77ffe8)
    TEST_ORI(0x6ee5e2c6, 0x0000cb85, 0x6ee5ebc7)
    TEST_ORI(0x7b700500, 0x00005c7a, 0x7b705d7a)
    TEST_ORI(0xcc8814e4, 0x000000e8, 0xcc8814ec)
    TEST_ORI(0xca03f8ea, 0x0000f275, 0xca03faff)
    TEST_ORI(0x6d0231d0, 0x00003728, 0x6d0237f8)
    TEST_ORI(0x32c11c28, 0x000034ce, 0x32c13cee)
    TEST_ORI(0x37b864f3, 0x00000794, 0x37b867f7)
    TEST_ORI(0x03cf1400, 0x0000aa04, 0x03cfbe04)
    TEST_ORI(0x38088740, 0x0000ad87, 0x3808afc7)
    TEST_ORI(0xe90b610d, 0x000059f9, 0xe90b79fd)
    TEST_ORI(0x1b8e94f0, 0x0000246e, 0x1b8eb4fe)
    TEST_ORI(0xb06a6414, 0x0000785c, 0xb06a7c5c)
    TEST_ORI(0xbbdf8fb8, 0x000040c0, 0xbbdfcff8)
    TEST_ORI(0x20e45530, 0x0000080a, 0x20e45d3a)
    TEST_ORI(0x64fdea6e, 0x0000e4b4, 0x64fdeefe)
    TEST_ORI(0xfab09626, 0x00005746, 0xfab0d766)
    TEST_ORI(0x3725b59a, 0x00004927, 0x3725fdbf)
    TEST_ORI(0x5cafd54e, 0x000023aa, 0x5caff7ee)
    TEST_ORI(0x034ccef4, 0x00007b0e, 0x034cfffe)
    TEST_ORI(0x5cd67abc, 0x0000c312, 0x5cd6fbbe)
    TEST_ORI(0x1cadcbf8, 0x00006306, 0x1cadebfe)
    TEST_ORI(0xb3250f97, 0x00008915, 0xb3258f97)
    TEST_ORI(0x1e6027e0, 0x00008830, 0x1e60aff0)
    TEST_ORI(0x26b684c0, 0x000070cc, 0x26b6f4cc)
    TEST_ORI(0x03ace660, 0x000025ed, 0x03ace7ed)
    TEST_ORI(0x0adc5ba2, 0x00002cde, 0x0adc7ffe)
    TEST_ORI(0x959703a0, 0x0000341a, 0x959737ba)
    TEST_ORI(0xb07fd414, 0x0000ba00, 0xb07ffe14)
    TEST_ORI(0x89d519d0, 0x0000cdee, 0x89d5ddfe)
    TEST_ORI(0xf7261eb0, 0x00002fdc, 0xf7263ffc)
    TEST_ORI(0x2c09492f, 0x00005844, 0x2c09596f)
    TEST_ORI(0x27d26fc0, 0x0000b3ae, 0x27d2ffee)
    TEST_ORI(0x8f386b68, 0x0000ee32, 0x8f38ef7a)
    TEST_ORI(0xeb3125b0, 0x00008984, 0xeb31adb4)
    TEST_ORI(0xa5b5cb24, 0x000057a6, 0xa5b5dfa6)
    TEST_ORI(0x69280b7c, 0x00009e06, 0x69289f7e)
    TEST_ORI(0x576cc234, 0x0000628f, 0x576ce2bf)
    TEST_ORI(0x77714bc4, 0x00004e40, 0x77714fc4)
    TEST_ORI(0x755432a0, 0x0000d9a0, 0x7554fba0)
    TEST_ORI(0xdadfb0ac, 0x00009c3a, 0xdadfbcbe)
    TEST_ORI(0x3756d37c, 0x0000182f, 0x3756db7f)
    TEST_ORI(0xc1071950, 0x00009aa0, 0xc1079bf0)
    TEST_ORI(0xb5d879d0, 0x0000290f, 0xb5d879df)
    TEST_ORI(0x074e4e72, 0x00002521, 0x074e6f73)
    TEST_ORI(0x136b3d46, 0x0000ded4, 0x136bffd6)
    TEST_ORI(0x09e3e474, 0x00008af0, 0x09e3eef4)
    TEST_ORI(0xd831a1f0, 0x00004322, 0xd831e3f2)
    TEST_ORI(0x7b5ec670, 0x0000070a, 0x7b5ec77a)
    TEST_ORI(0xb49ffdd0, 0x000024ba, 0xb49ffdfa)
    TEST_ORI(0x30ef0e30, 0x0000f11a, 0x30efff3a)
    TEST_ORI(0xc75edb8c, 0x0000db2e, 0xc75edbae)
    TEST_ORI(0x921f3e58, 0x000093e8, 0x921fbff8)
    TEST_ORI(0xdf525ee0, 0x00003d0c, 0xdf527fec)
    TEST_ORI(0x2006e300, 0x00005c58, 0x2006ff58)
    TEST_ORI(0x30cca294, 0x00005461, 0x30ccf6f5)
    TEST_ORI(0xa0b94de0, 0x0000576e, 0xa0b95fee)
    TEST_ORI(0x89ca0d20, 0x00009f4f, 0x89ca9f6f)
    TEST_ORI(0x8cb5f778, 0x0000f5e0, 0x8cb5f7f8)
    TEST_ORI(0x38dd02d4, 0x00008947, 0x38dd8bd7)
    TEST_ORI(0xc344fcfe, 0x0000e340, 0xc344fffe)
    TEST_ORI(0xde632ca3, 0x00003206, 0xde633ea7)
    TEST_ORI(0xca241a9c, 0x0000911e, 0xca249b9e)
    TEST_ORI(0x1b94665a, 0x000029cc, 0x1b946fde)
    TEST_ORI(0x8cad15b8, 0x00004720, 0x8cad57b8)
    TEST_ORI(0x488fc0b6, 0x0000217c, 0x488fe1fe)
    TEST_ORI(0xdf141680, 0x00007152, 0xdf1477d2)
    TEST_ORI(0x4319f170, 0x00003a86, 0x4319fbf6)
    TEST_ORI(0xaaf90038, 0x0000e2ca, 0xaaf9e2fa)
    TEST_ORI(0x245bc428, 0x0000286c, 0x245bec6c)
    TEST_ORI(0xd4b4de78, 0x0000d9bd, 0xd4b4dffd)
    TEST_ORI(0x77603f4e, 0x000050d2, 0x77607fde)
    TEST_ORI(0x0bc0eeb8, 0x00005114, 0x0bc0ffbc)
    TEST_ORI(0xb7b01200, 0x0000f234, 0xb7b0f234)
    TEST_ORI(0xe3520ac2, 0x0000a71e, 0xe352afde)
    TEST_ORI(0x5fb2fcdc, 0x000077b7, 0x5fb2ffff)
    TEST_ORI(0x35723688, 0x00002c9c, 0x35723e9c)
    TEST_ORI(0xd898bbf2, 0x00005686, 0xd898fff6)
    TEST_ORI(0x64bed538, 0x0000691c, 0x64befd3c)
    TEST_ORI(0xf2c9b240, 0x0000618e, 0xf2c9f3ce)
    TEST_ORI(0x7c5b6584, 0x0000daac, 0x7c5bffac)
    TEST_ORI(0xad857400, 0x00001ca4, 0xad857ca4)
    TEST_ORI(0x38e679d0, 0x0000a9ea, 0x38e6f9fa)
    TEST_ORI(0xf8347356, 0x00007910, 0xf8347b56)
    TEST_ORI(0x28fd9f34, 0x00005240, 0x28fddf74)
    TEST_ORI(0x6d286d78, 0x0000f403, 0x6d28fd7b)
    TEST_ORI(0xad876708, 0x00003b68, 0xad877f68)
    TEST_ORI(0x30250d28, 0x0000f738, 0x3025ff38)
    TEST_ORI(0xd01e9a08, 0x0000c97a, 0xd01edb7a)
    TEST_ORI(0xd8cad66c, 0x000058af, 0xd8cadeef)
    TEST_ORI(0xe2579b80, 0x0000af3e, 0xe257bfbe)
    TEST_ORI(0x1e4a1000, 0x000004b8, 0x1e4a14b8)
    TEST_ORI(0x5346e4d8, 0x0000e44b, 0x5346e4db)
    TEST_ORI(0x5cc37c88, 0x0000f94b, 0x5cc3fdcb)
    TEST_ORI(0xa6970491, 0x00007752, 0xa69777d3)
    TEST_ORI(0x5a7157fc, 0x0000e910, 0x5a71fffc)
    TEST_ORI(0x220a0c60, 0x0000f713, 0x220aff73)
    TEST_ORI(0xddb27280, 0x00005f2b, 0xddb27fab)
    TEST_ORI(0x2ef95576, 0x00004554, 0x2ef95576)
    TEST_ORI(0x976e5e98, 0x00000458, 0x976e5ed8)
    TEST_ORI(0x354d0320, 0x0000ea8d, 0x354debad)
    TEST_ORI(0x94b6eb72, 0x0000fbab, 0x94b6fbfb)
    TEST_ORI(0xf652ddc0, 0x0000dcf6, 0xf652ddf6)
    TEST_ORI(0x83f6ded0, 0x0000eb9e, 0x83f6ffde)
    TEST_ORI(0x1576ee33, 0x0000aaec, 0x1576eeff)
    TEST_ORI(0xdec2831b, 0x00004f46, 0xdec2cf5f)
    TEST_ORI(0x8afa0658, 0x0000994a, 0x8afa9f5a)
    TEST_ORI(0xdb33e5a0, 0x0000b18f, 0xdb33f5af)
    TEST_ORI(0x9527dc50, 0x00003de0, 0x9527fdf0)
    TEST_ORI(0x39732998, 0x00004b1f, 0x39736b9f)
    TEST_ORI(0x35b8f6d8, 0x00009c60, 0x35b8fef8)
    TEST_ORI(0xf023c8c6, 0x0000ef4a, 0xf023efce)
    TEST_ORI(0x5453363d, 0x0000d113, 0x5453f73f)
    TEST_ORI(0xb38d3666, 0x0000fb10, 0xb38dff76)
    TEST_ORI(0x4d3c8579, 0x0000a40c, 0x4d3ca57d)
    TEST_ORI(0x7d8430e8, 0x00007082, 0x7d8470ea)
    TEST_ORI(0xbd3f1480, 0x0000ee60, 0xbd3ffee0)
    TEST_ORI(0x6055ac72, 0x000058ec, 0x6055fcfe)
    TEST_ORI(0xefe13aa0, 0x0000d4d8, 0xefe1fef8)
    TEST_ORI(0xb1d623aa, 0x0000fbd0, 0xb1d6fbfa)
    TEST_ORI(0x953ff764, 0x0000a6fc, 0x953ff7fc)
    TEST_ORI(0x8bd59790, 0x0000e6c0, 0x8bd5f7d0)
    TEST_ORI(0x13ef59ce, 0x000098a4, 0x13efd9ee)
    TEST_ORI(0xbc31829c, 0x0000c026, 0xbc31c2be)
    TEST_ORI(0x4e4c1a00, 0x0000fccd, 0x4e4cfecd)
    TEST_ORI(0x8e57c6a2, 0x0000943f, 0x8e57d6bf)
    TEST_ORI(0xbd1c06ed, 0x00003c65, 0xbd1c3eed)
    TEST_ORI(0xefafcd50, 0x000030aa, 0xefaffdfa)
    TEST_ORI(0xa2cf6860, 0x0000ac72, 0xa2cfec72)
    TEST_ORI(0xe082dd28, 0x0000c7e5, 0xe082dfed)
    TEST_ORI(0x18ed12b4, 0x0000f09b, 0x18edf2bf)
    TEST_ORI(0xc9f73d9f, 0x0000b36c, 0xc9f7bfff)
    TEST_ORI(0xbe45a000, 0x0000b9ff, 0xbe45b9ff)
    TEST_ORI(0xded2a4a8, 0x00001304, 0xded2b7ac)
    TEST_ORI(0x9aaaef18, 0x00009390, 0x9aaaff98)
    TEST_ORI(0xdbce1804, 0x00006a8c, 0xdbce7a8c)
    TEST_ORI(0x46d619d4, 0x000028a0, 0x46d639f4)
    TEST_ORI(0xc2935100, 0x0000946c, 0xc293d56c)
    TEST_ORI(0xfef89ad6, 0x00009210, 0xfef89ad6)
    TEST_ORI(0x2ab7a890, 0x00008560, 0x2ab7adf0)
    TEST_ORI(0xce9e1788, 0x0000a9c4, 0xce9ebfcc)
    TEST_ORI(0x2c4ba739, 0x0000b902, 0x2c4bbf3b)
    TEST_ORI(0xfbaac1b8, 0x0000e0d2, 0xfbaae1fa)
    TEST_ORI(0x47ae7e9c, 0x00004ee0, 0x47ae7efc)
    TEST_ORI(0xb90d1d4e, 0x0000d2d0, 0xb90ddfde)
    TEST_ORI(0xc3134de6, 0x00006126, 0xc3136de6)
    TEST_ORI(0x18401aaa, 0x000092ca, 0x18409aea)
    TEST_ORI(0xa67dca53, 0x00004b23, 0xa67dcb73)
    TEST_ORI(0xb6d7927a, 0x0000336e, 0xb6d7b37e)
    TEST_ORI(0x7b6e94d8, 0x0000b6cd, 0x7b6eb6dd)
    TEST_ORI(0xde1ebbda, 0x000089c0, 0xde1ebbda)
    TEST_ORI(0x9965f113, 0x0000f928, 0x9965f93b)
    TEST_ORI(0xbc0f0ab0, 0x0000c83a, 0xbc0fcaba)
    TEST_ORI(0x7b9913ee, 0x0000fee5, 0x7b99ffef)
    TEST_ORI(0x5b9451e8, 0x00008337, 0x5b94d3ff)
    TEST_ORI(0x23f93c34, 0x0000d4a2, 0x23f9fcb6)
    TEST_ORI(0x3bf94812, 0x00009c4c, 0x3bf9dc5e)
    TEST_ORI(0x10ece560, 0x00000324, 0x10ece764)
    TEST_ORI(0x0d86f558, 0x00001489, 0x0d86f5d9)
    TEST_ORI(0x24bc972d, 0x000091d0, 0x24bc97fd)
    TEST_ORI(0xb6d17ce6, 0x0000974a, 0xb6d1ffee)
    TEST_ORI(0x0bb682bc, 0x00001ec0, 0x0bb69efc)
    TEST_ORI(0x7ab45fe2, 0x000011c2, 0x7ab45fe2)
    TEST_ORI(0xbfcba888, 0x0000b840, 0xbfcbb8c8)
    TEST_ORI(0x89d49b8f, 0x0000860a, 0x89d49f8f)
    TEST_ORI(0x739be6e8, 0x000006c2, 0x739be6ea)
    TEST_ORI(0xa9b42b00, 0x00009a44, 0xa9b4bb44)
    TEST_ORI(0x76514d40, 0x00000204, 0x76514f44)
    TEST_ORI(0x68f80800, 0x0000c166, 0x68f8c966)
    TEST_ORI(0x035dac7e, 0x0000ebc8, 0x035deffe)
    TEST_ORI(0xd1b94930, 0x0000871f, 0xd1b9cf3f)
    TEST_ORI(0xd5b85b86, 0x0000043e, 0xd5b85fbe)
    TEST_ORI(0x2d2638e0, 0x000037b0, 0x2d263ff0)
    TEST_ORI(0xe47c81bc, 0x000065d7, 0xe47ce5ff)
    TEST_ORI(0xe8b483f3, 0x0000a39a, 0xe8b4a3fb)
    TEST_ORI(0xfe58c120, 0x0000192c, 0xfe58d92c)
    TEST_ORI(0x5eed4089, 0x00001bdc, 0x5eed5bdd)
    TEST_ORI(0x418d9d98, 0x00008409, 0x418d9d99)
    TEST_ORI(0x68703e32, 0x00008d56, 0x6870bf76)
    TEST_ORI(0xa5aa8a80, 0x00003ad2, 0xa5aabad2)
    TEST_ORI(0x1345c932, 0x00006247, 0x1345eb77)
    TEST_ORI(0x9e778cec, 0x0000c5df, 0x9e77cdff)
    TEST_ORI(0xe47a3820, 0x000037a9, 0xe47a3fa9)
    TEST_ORI(0xd92a74e0, 0x0000b5d5, 0xd92af5f5)
    TEST_ORI(0x255f3270, 0x00004b41, 0x255f7b71)
    TEST_ORI(0xd44c9f59, 0x00000000, 0xd44c9f59)
    TEST_ORI(0xa34a8759, 0x00000000, 0xa34a8759)
    TEST_ORI(0x5c27d4ac, 0x00000000, 0x5c27d4ac)
    TEST_ORI(0x92dca4e0, 0x00000000, 0x92dca4e0)
    TEST_ORI(0x4be1411c, 0x00000000, 0x4be1411c)
    TEST_ORI(0x82066660, 0x00000000, 0x82066660)
    TEST_ORI(0x51ca3726, 0x00000000, 0x51ca3726)
    TEST_ORI(0xac12e711, 0x00000000, 0xac12e711)
    TEST_ORI(0x2b96a5d8, 0x00000000, 0x2b96a5d8)
    TEST_ORI(0x846333dc, 0x00000000, 0x846333dc)
    TEST_ORI(0xbb9e2b40, 0x00000000, 0xbb9e2b40)
    TEST_ORI(0x2ae84900, 0x00000000, 0x2ae84900)
    TEST_ORI(0x2da848c8, 0x00000000, 0x2da848c8)
    TEST_ORI(0x89486176, 0x00000000, 0x89486176)
    TEST_ORI(0xc521e80c, 0x00000000, 0xc521e80c)
    TEST_ORI(0x617955c4, 0x00000000, 0x617955c4)
    TEST_ORI(0xb52a6838, 0x00000000, 0xb52a6838)
    TEST_ORI(0x228af848, 0x00000000, 0x228af848)
    TEST_ORI(0x58d297b4, 0x00000000, 0x58d297b4)
    TEST_ORI(0xf5ad7cce, 0x00000000, 0xf5ad7cce)
    TEST_ORI(0x8ce1fb50, 0x00000000, 0x8ce1fb50)
    TEST_ORI(0x952474c0, 0x00000000, 0x952474c0)
    TEST_ORI(0xeb9aec1a, 0x00000000, 0xeb9aec1a)
    TEST_ORI(0xec766400, 0x00000000, 0xec766400)
    TEST_ORI(0x3c65f0e0, 0x00000000, 0x3c65f0e0)
    TEST_ORI(0x2c9e91bf, 0x00000000, 0x2c9e91bf)
    TEST_ORI(0xab702a00, 0x00000000, 0xab702a00)
    TEST_ORI(0xb15e41a1, 0x00000000, 0xb15e41a1)
    TEST_ORI(0x3028f734, 0x00000000, 0x3028f734)
    TEST_ORI(0x38e62150, 0x00000000, 0x38e62150)
    TEST_ORI(0x6302aa80, 0x00000000, 0x6302aa80)
    TEST_ORI(0x46cf37fc, 0x00000000, 0x46cf37fc)
    TEST_ORI(0x9b9bc370, 0x00000000, 0x9b9bc370)
    TEST_ORI(0x85241290, 0x00000000, 0x85241290)
    TEST_ORI(0x28f620ea, 0x00000000, 0x28f620ea)
    TEST_ORI(0xb17655e0, 0x00000000, 0xb17655e0)
    TEST_ORI(0xf23b25c8, 0x00000000, 0xf23b25c8)
    TEST_ORI(0xcff6da18, 0x00000000, 0xcff6da18)
    TEST_ORI(0xf420b7f0, 0x00000000, 0xf420b7f0)
    TEST_ORI(0x2c5b7e44, 0x00000000, 0x2c5b7e44)
    TEST_ORI(0x689d6e48, 0x00000000, 0x689d6e48)
    TEST_ORI(0x587c7960, 0x00000000, 0x587c7960)
    TEST_ORI(0x115dd974, 0x00000000, 0x115dd974)
    TEST_ORI(0x2c0f663b, 0x00000000, 0x2c0f663b)
    TEST_ORI(0xf29cd1fb, 0x00000000, 0xf29cd1fb)
    TEST_ORI(0x3c38c883, 0x00000000, 0x3c38c883)
    TEST_ORI(0x5bf82500, 0x00000000, 0x5bf82500)
    TEST_ORI(0x03dd621c, 0x00000000, 0x03dd621c)
    TEST_ORI(0x43a3d75c, 0x00000000, 0x43a3d75c)
    TEST_ORI(0xb39dd06c, 0x00000000, 0xb39dd06c)
    TEST_ORI(0x00000000, 0x0000bde4, 0x0000bde4)
    TEST_ORI(0x00000000, 0x000022e2, 0x000022e2)
    TEST_ORI(0x00000000, 0x0000fa34, 0x0000fa34)
    TEST_ORI(0x00000000, 0x0000cea7, 0x0000cea7)
    TEST_ORI(0x00000000, 0x0000a738, 0x0000a738)
    TEST_ORI(0x00000000, 0x0000cb80, 0x0000cb80)
    TEST_ORI(0x00000000, 0x0000c5ae, 0x0000c5ae)
    TEST_ORI(0x00000000, 0x000068ed, 0x000068ed)
    TEST_ORI(0x00000000, 0x00007d58, 0x00007d58)
    TEST_ORI(0x00000000, 0x00001eb4, 0x00001eb4)
    TEST_ORI(0x00000000, 0x0000a76c, 0x0000a76c)
    TEST_ORI(0x00000000, 0x000040a8, 0x000040a8)
    TEST_ORI(0x00000000, 0x00009cd8, 0x00009cd8)
    TEST_ORI(0x00000000, 0x0000882c, 0x0000882c)
    TEST_ORI(0x00000000, 0x00001714, 0x00001714)
    TEST_ORI(0x00000000, 0x00006665, 0x00006665)
    TEST_ORI(0x00000000, 0x000088ef, 0x000088ef)
    TEST_ORI(0x00000000, 0x0000b800, 0x0000b800)
    TEST_ORI(0x00000000, 0x00000a5f, 0x00000a5f)
    TEST_ORI(0x00000000, 0x0000ea0e, 0x0000ea0e)
    TEST_ORI(0x00000000, 0x0000999e, 0x0000999e)
    TEST_ORI(0x00000000, 0x0000fa20, 0x0000fa20)
    TEST_ORI(0x00000000, 0x00000768, 0x00000768)
    TEST_ORI(0x00000000, 0x0000001c, 0x0000001c)
    TEST_ORI(0x00000000, 0x00009a60, 0x00009a60)
    TEST_ORI(0x00000000, 0x0000d637, 0x0000d637)
    TEST_ORI(0x00000000, 0x00001300, 0x00001300)
    TEST_ORI(0x00000000, 0x0000e54e, 0x0000e54e)
    TEST_ORI(0x00000000, 0x000091f5, 0x000091f5)
    TEST_ORI(0x00000000, 0x0000e29b, 0x0000e29b)
    TEST_ORI(0x00000000, 0x00007449, 0x00007449)
    TEST_ORI(0x00000000, 0x00000a2c, 0x00000a2c)
    TEST_ORI(0x00000000, 0x00009a04, 0x00009a04)
    TEST_ORI(0x00000000, 0x00006980, 0x00006980)
    TEST_ORI(0x00000000, 0x0000b93f, 0x0000b93f)
    TEST_ORI(0x00000000, 0x00002659, 0x00002659)
    TEST_ORI(0x00000000, 0x00008b28, 0x00008b28)
    TEST_ORI(0x00000000, 0x00002338, 0x00002338)
    TEST_ORI(0x00000000, 0x00004abb, 0x00004abb)
    TEST_ORI(0x00000000, 0x0000affe, 0x0000affe)
    TEST_ORI(0x00000000, 0x0000f484, 0x0000f484)
    TEST_ORI(0x00000000, 0x000085aa, 0x000085aa)
    TEST_ORI(0x00000000, 0x00006560, 0x00006560)
    TEST_ORI(0x00000000, 0x00002cdd, 0x00002cdd)
    TEST_ORI(0x00000000, 0x0000dca7, 0x0000dca7)
    TEST_ORI(0x00000000, 0x00005b2e, 0x00005b2e)
    TEST_ORI(0x00000000, 0x0000bf5d, 0x0000bf5d)
    TEST_ORI(0x00000000, 0x0000f373, 0x0000f373)
    TEST_ORI(0x00000000, 0x00000c46, 0x00000c46)
    TEST_ORI(0x00000000, 0x0000ed94, 0x0000ed94)
    TEST_ORI(0x00000000, 0x00000000, 0x00000000)
###detect exception
    bne s2, zero, inst_error
    nop
###score ++
    addiu s3, s3, 1
###output (s0<<24)|s3
inst_error:  
    sll t1, s0, 24
    or t0, t1, s3 
    sw t0, 0(s1)
    jr ra
    nop
END(n30_ori_test)
